import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import { Tabs } from 'antd';
import PersonalMessage from './PersonalMessage';
import CompanyMessage from './CompanyMessage';


export default class AccountInformation extends Component {
  render() {
    return (
      <div style={{ backgroundColor: '#fff' }}>
        <Tabs defaultActiveKey="1">
          <Tabs.TabPane tab="个人信息" key="1">
            <PersonalMessage/>
          </Tabs.TabPane>
          <Tabs.TabPane tab="企业信息" key="2">
            <CompanyMessage/>
          </Tabs.TabPane>
        </Tabs>
      </div>
    );
  }
}
